PaymentPlugins\PPCP\WooCommerceSubscriptions\PaymentController S

Total Complexity 38
Dependencies 13
Dependents 2
Total lines 311
Lines of code 225
Logical lines of code 159
Comment lines 31
Methods 8
Properties 3

Methods 8

Method Rating Maintainability Complexity Lines of code
process_payment()
A
40 11 60
process_payment_for_billing_agreement()
S
45 6 42
process_change_payment_method()
S
48 6 33
process_change_payment_method_with_billing_agreement()
S
46 5 36
process_renewal_payment()
S
48 5 32
save_subscription_meta()
S
66 2 8
save_billing_agreement_subscription_meta()
S
65 2 9
__construct()
S
74 1 5